package com.mini.cn.goods.config;

/**
 * Created by fly on 17/6/10.
 * <p>
 * 发送消息code
 */
public class MessageConfig {

    //支付成功消息
    public static final int PAYSUCESS = 1;
    //首次登录
    public static final int FRISTLOGIN = 2;
    //注册消息
    public static final int REGISTER = 3;
    //发送奖励
    public static final int ACTIONGIFT = 4;
    //咖啡制作失败
    public static final int COFFEEDOFAIL = 5;
    //每天卡卷过期提醒
    public static final int DAYCARDSTIPS = 6;
    //用户更新信息提醒
    public static final int UPDATEUSERINFO = 7;

    public static final int CHANGEREALGOODS = 8;

    public static class MessageType {

        //推送消息
        public static final String PUSHMSGTYPE = "pushmsgtype";

        //websocket 连接成功以后
        public static final int SOCKETOPENSUCESS =10;

        //心跳处理
        public static final String PINGHEART = "pingheart";

        //接受到ws 编码后的报文
        public static final String ACCEPTLCDATAPACKETTYPE = "acceptlcdatapackettype";

        //客户端发送消息类型
        public static final String CLIENTSENDTYPE="clientsendtype";

        //客户端发送消息类型 receive
        public static final String CLIENTRECEIVETYPE="clientreceivetype";

    }
}
